﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sample.Messages;
using SimpleServiceBus.Bus.MessageManagement.MessageHandling;

namespace SampleConsumer.Handlers {
    public class Area3Handler: IMessageHandler<Area3> {

        public void Handle(Area3 message, SimpleServiceBus.Bus.Pipeline.IMessageContext context) {
            Logger.Log("Received Area3 topic. Main = {0}, BoolValue = {1}", message.MainValue, message.BoolValue);
        }

    }
}
